using Caliburn.Micro;
using MediaOwl.Common.Busy;
using MediaOwl.Common.Dialog;

namespace MediaOwl.Common.ScreenManagement
{
    public interface IWorkitem : IScreen, IScreenExtensions, IDialogCapable, IBusyCapable
    {
        string ScreenId { get; set; }
        int Order { get; }
        bool IsHomeScreen { get; }
    }

    public interface IWorkitem<out TParentWorkspace> : IWorkitem
        where TParentWorkspace : class, IWorkspace
    {
        TParentWorkspace TypedParent { get; }
    }
}